import Vue from 'vue'
import VueRouter from 'vue-router'
// import Home from "../views/Home.vue";

Vue.use(VueRouter)

const routes = [
  // {
  //   path: "/",
  //   name: "login",
  //   // redirect: "/ssp/login",
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/ssp/index.vue"),
  // },
  {
    path: '/',
    name: 'ssp',

    redirect: '/login',
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/ssp/index.vue'),
    children: [
      {
        path: 'login',
        name: 'login',
        component: () =>
          import(/* webpackChunkName: "about" */ '../views/ssp/login.vue')
      },
      {
        path: 'home',
        name: 'home',
        component: () =>
          import(/* webpackChunkName: "about" */ '../views/ssp/home.vue')
      },
      {
        path: 'sspone',
        name: 'sspone',
        component: () =>
          import(/* webpackChunkName: "about" */ '../views/ssp/sspone.vue')
      },
      {
        path: 'MyTask',
        name: 'MyTask',
        component: () =>
          import(/* webpackChunkName: "about" */ '../views/ssp/MyTask.vue')
      }
    ]
  }
  // {
  //   path: "/home",
  //   name: "home",
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/Home.vue"),
  // },
  // {
  //   path: "/progressQuery",
  //   name: "progressQuery",
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/progressQuery.vue"),
  // },
  // {
  //   path: '/login',
  //   name:'login',
  //   component: () =>
  //       import(/* webpackChunkName: "about" */ "../views/Login.vue"),
  // },
  // {
  //   path: "/Shenq1",
  //   name: "Shenq1",
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/shenq1.vue"),
  // },
  // {
  //   path: "/Shenq2",
  //   name: "Shenq2",
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/shenq2.vue"),
  // },
  // {
  //   path: "/Shenq3",
  //   name: "Shenq3",
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/shenq3.vue"),
  // },
  // {
  //   path: "/Shenq4",
  //   name: "Shenq4",
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/shenq4.vue"),
  // },
  // {
  //   path: "/shenQ5",
  //   name: "shenQ5",
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/ShenQ5.vue"),
  // },
  // {
  //   path: "/shenQ6",
  //   name: "shenQ6",
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/ShenQ6.vue"),
  // },
  // {
  //   path: "/GongGao",
  //   name: "GongGao",
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/GongGao.vue"),
  // },
]

const router = new VueRouter({
  routes
})

export default router
